package cn.nuist.service;

import cn.nuist.entity.Supplier;

import java.util.List;

public interface SupplierService {
    List<Supplier> getAllSupplier();

    void add(Supplier supplier);

    Supplier getSupplierByPhone(String contactPhone);

    Supplier getSupplierByName(String supplierName);

    void delete(int supplierID);

    Supplier getSupplierById(int supplierID);

    void update(Supplier supplier);
}
